#pragma once
//#define SINGLE_TCP_CLIENT
//#define TEST_LOG
//#define TEST_LIST
//#define TEST_SAFE_DATA
//#define TEST_ECHO
//#define TEST_ECHO_SERVER
//#define TEST_ECHO_SERVER_THREAD_POOL
//#define TEST_SHAREDPTR
//#define TEST_MUTEX
//#define TEST_ECHO_CLIENT
//#define TEST_MESSAGE_CLIENT
//#define TEST_ECHO_SERVER_EX
//#define TEST_CCONDITION
//#define TEST_EVENT
//#define TEST_TIMER
//#define TEST_STRING
//#define TEST_FILE
//#define TEST_DUMP
//#define TEST_IPC_CLIENT
//#define TEST_IPC_SERVER
//#define TEST_PROCESS
//#define TEST_TCP_FRAMEWORK_ECHO_SERVER
//#define TEST_TCP_FRAMEWORK_ECHO_CLIENT
//#define TEST_DLL
//#define TEST_THREAD
//#define TEST_UDP_SAMPLE
//#define TEST_ERROR_UDP
//#define TEST_UDP_SERVER_SEND_MSG
#define TEST_UDP_SERVER_RECV_MSG
//#define TEST_UDP_CLIENT_SEND_ECHO
//#define TEST_TCP_MAX_PACK_RECV
//#define TEST_TCP_MAX_PACK_SEND
#define CHECKERROR(ec, msg) {if(ec) {cout<<msg<<"=>"<<ec.GetErrorMsg(); exit(ec);}}

#ifdef WIN32
#ifdef _DEBUG
#	ifdef _WIN64
#		pragma comment(lib, "../../build/out/libtools64d.lib")
#	else
#		pragma comment(lib, "../../build/out/libtoolsd.lib")
#	endif
#else
#	ifdef _WIN64
#		pragma comment(lib, "../../build/out/libtools64.lib")
#	else
#		pragma comment(lib, "../../build/out/libtools.lib")
#	endif
#endif
#endif // end win32